package view;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;


/**
 * This is the panel that holds information on rendering
 * the Inventory in the game Panel.
 * 
 * @author Stephanie
 *
 */
public class InventoryPanel extends JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Image img;
	
	public InventoryPanel() {
		img = new ImageIcon("images/InventoryPanel.jpg").getImage();
		setSize(200,200);
		setLocation(600,350);
		setVisible(true);
		setLayout(new GridLayout(10,1));
	}
	
	protected void paintComponent(Graphics g)
	{
		g.drawImage(img,0,0,null);
		g.setColor(Color.RED);
		g.drawString("Inventory",50,50);

	}

}
